package com.uzai.console.dto.alarm.alarmmsg;

import com.uzai.console.dto.QueryParam;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.data.elasticsearch.annotations.Field;
import org.springframework.data.elasticsearch.annotations.FieldType;

import java.util.List;

/**
 * @Auther: liuqi
 * @Date: 2021/8/10 14:58
 * @Description:
 */
@ApiModel("报警记录查询参数")
public class AlarmMsgQuery extends QueryParam {
    @ApiModelProperty("报警类型(0-设备监控；1-事件监控；2-风险监控)")
    private Integer alarmType;
    @ApiModelProperty("机器人唯一id列表")
    private List<Long> deviceUniqueIdList;
    @ApiModelProperty("消息类型")
    private Integer msgType;
    @ApiModelProperty("报警联系人id")
    private Long contacterId;
    @ApiModelProperty("开始查询时间")
    private Integer queryStartTime;
    @ApiModelProperty("开始查询时间")
    private Integer queryEndTime;
    @ApiModelProperty("消息内容")
    private String message;

    public Integer getAlarmType() {
        return alarmType;
    }

    public void setAlarmType(Integer alarmType) {
        this.alarmType = alarmType;
    }

    public List<Long> getDeviceUniqueIdList() {
        return deviceUniqueIdList;
    }

    public void setDeviceUniqueIdList(List<Long> deviceUniqueIdList) {
        this.deviceUniqueIdList = deviceUniqueIdList;
    }

    public Integer getMsgType() {
        return msgType;
    }

    public void setMsgType(Integer msgType) {
        this.msgType = msgType;
    }

    public Integer getQueryStartTime() {
        return queryStartTime;
    }

    public void setQueryStartTime(Integer queryStartTime) {
        this.queryStartTime = queryStartTime;
    }

    public Integer getQueryEndTime() {
        return queryEndTime;
    }

    public void setQueryEndTime(Integer queryEndTime) {
        this.queryEndTime = queryEndTime;
    }

    public Long getContacterId() {
        return contacterId;
    }

    public void setContacterId(Long contacterId) {
        this.contacterId = contacterId;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
